<div *ngIf="_value && _value.fileName">
  <span style="cursor: pointer; color: #1e88e5;" (click)="preview()">{{_value.fileName}}</span>
  <i *ngIf="!_isDisabled" style="margin-left: 8px; cursor: pointer; color: #D9001B;" class="ti-trash" (click)="clear()"></i>
  <span *ngIf="config?.dataDownload && !_isDisabled" (click)="download()">下载</span>
</div>
<div *ngIf="!_value">
  <button class="upload" nz-button [disabled]="_isDisabled">
    上传<input #inputFile type="file" ng2FileSelect [uploader]="uploader" />
  </button>
  
</div>
